import React from 'react'
import { useParams } from 'react-router-dom'

function App() {
  const params = useParams() // 数据对象
  console.log(params)

  return (
    <div>
      <div>Like</div>
    </div>
  )
}

export default App
